package com.sp.scmdb.webservice.model;

import java.util.List;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.sp.scmdb.bean.UploadDutyBean;

public class DutyModel extends AbstractRequest {

	private List<UploadDutyBean> listUploadDutyBean;

	public List<UploadDutyBean> getListUploadDutyBean() {
		return listUploadDutyBean;
	}

	public void setListUploadDutyBean(List<UploadDutyBean> listUploadDutyBean) {
		this.listUploadDutyBean = listUploadDutyBean;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

	@Override
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(17, 37, this);
	}

	@Override
	public boolean equals(Object obj) {
		if (obj != null && getClass().isAssignableFrom(obj.getClass())) {
			return EqualsBuilder.reflectionEquals(this, obj);
		}
		return false;
	}

}
